<#assign title= "获取子类别API" ><#include '../header.html' />
<!--头部结束-->
<!--手册开始-->
<div id="top_nav">
	<h1>标签、API使用手册</h1>
</div>
<!--手册结束-->
<!--正文-->
<div id="main">
<#include 'collect_menu.html' />
	<div class="right_list">
		<h3>getStoreGoodsChildJson  获取子类别API</h3>
		<!--锚点-->
		<div class="anchor">
			<ul>
				<li><a href="#parameter">输入参数</a></li>
				<li><a href="#finally">返回结果</a></li>
				<li><a href="#example">返回示例</a></li>
				<li><a href="#try">API工具</a></li>
			</ul>
		</div>
		<!--锚点结束-->
		<h6>
			<p>获取子类别</p>

		</h6>
		<div class="intro">	
			<div class="same">
				<h2>API地址：</h2>
				<table cellspacing="0">
					 
					<tr>
						<td style="text-align:left;padding:10px;font-size:14px">/api/b2b2c/goods-cat/get-store-goods-child-json.do?cat_id=1</td>
						
					</tr>
				</table>
			</div>
			<div class="same" id="parameter">
				<h2>输入参数</h2>
				<table cellspacing="0">
					<tr>
						<th>名称</th>
						<th>类型</th>
						<th>是否必须</th>
						<th>示例值</th>
						<th>默认值</th>
						<th>描述</th>
					</tr>
					<tr>
						<td>cat_id</td>
						<td>int</td>
						<td>必须</td>
						<td></td>
						<td></td>
						<td>读取该类别下的子类别，只是儿子</td>
					</tr>
				</table>
			</div>
			<div class="same" id="finally">
				<h2>返回结果</h2>
				<table cellspacing="0">
					<tr>
						<th>名称</th>
						<th>类型</th>
						<th>是否必须</th>
						<th>默认值</th>
						<th class="line">描述</th>
					</tr>
					<tr>
						<td>result</td>
						<td>int</td>
						<td>必须</td>
						<td>1</td>
						<td class="line_intro">如果等于“0”，加载出错，如果等于“1”，那么表示查询成功</td>
					</tr>
				</table>
			</div>
			<div class="same" id="example">
				<h2>返回示例</h2>
				<textarea>{"result":1,"data":[{"cat_id":2,"cat_order":0,"cat_path":"0|1|2|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"休闲零食 ","parent_id":1,"state":"","totle_num":0,"type_id":1,"type_name":""},{"cat_id":3,"cat_order":0,"cat_path":"0|1|3|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"糖果/巧克力","parent_id":1,"state":"","totle_num":0,"type_id":5,"type_name":""},{"cat_id":13,"cat_order":0,"cat_path":"0|1|13|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"饮料","parent_id":1,"state":"","totle_num":0,"type_id":8,"type_name":""},{"cat_id":18,"cat_order":0,"cat_path":"0|1|18|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"酒水","parent_id":1,"state":"","totle_num":0,"type_id":12,"type_name":""},{"cat_id":288,"cat_order":0,"cat_path":"0|1|288|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"茗茶","parent_id":1,"state":"","totle_num":0,"type_id":83,"type_name":""},{"cat_id":298,"cat_order":0,"cat_path":"0|1|298|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"食品礼券","parent_id":1,"state":"","totle_num":0,"type_id":1,"type_name":""},{"cat_id":377,"cat_order":0,"cat_path":"0|1|377|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"牛奶乳品","parent_id":1,"state":"","totle_num":0,"type_id":11,"type_name":""},{"cat_id":410,"cat_order":0,"cat_path":"0|1|410|","children":[],"goods_count":0,"hasChildren":false,"image":"","list_show":"1","name":"粮油/干货","parent_id":1,"state":"","totle_num":0,"type_id":1,"type_name":""}]}</textarea>
			</div>
<!-- 			<div class="same" id="try"> -->
<!-- 				<h2>试一试</h2> -->
<!-- 				<a href="try.html?api=getStoreGoodsChildJson" target="_blank">亲自试一试</a> -->
<!-- 			</div> -->
		</div>
	</div>
</div>
<#include '/docs/fooder.html' />

<!--正文结束-->
</body>
</html>








